package icu.sehnen.service;

import com.github.pagehelper.PageInfo;
import icu.sehnen.mapper.ProgressMapper;
import icu.sehnen.model.ProductModel;

import java.util.List;

public interface ProductService {
    PageInfo<ProductModel>  findAll(Integer pageNum, Integer pageSize, String query);
    void delete(Long id);
    ProductModel findProductById(Long id);

    void update(ProductModel productModel);

    void add(ProductModel productModel);
}
